Xbasic

OBJECT.TOOLBARCHANGE Function

Syntax

Toolbar_Name as C = <OBJECT>.Toolbarchange(c new_toolbar )

Arguments

new_toolbar

The name of the toolbar to load.

Description

Loads and displays the selected toolbar.

The <OBJECT>.TOOLBARCHANGE() method applies to:

Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.TOOLBARCHANGE() method loads and displays the selected toolbar.

Example

dim ptr as P
ptr = form.view("Customer Information")
? ptr.toolbarchange("Reports")
= "Reports"

Limitations

Desktop applications only.

See Also